package br.com.honorato.model;

import java.io.Serializable;

import javax.persistence.DiscriminatorValue;
import javax.persistence.Entity;

@Entity
@DiscriminatorValue("ADMIN_PASS")
public class DAdminPass extends DomainBase implements Serializable
{
	private static final long serialVersionUID = 1L;

	public DAdminPass(String code, String description, String mask, String name, Integer priority)
	{
		super();
		this.setCode(code);
		this.setDescription(description);
		this.setMask(mask);
		this.setName(name);
		this.setPriority(priority);
	}

	public DAdminPass()
	{}

	@Override
	public String toString()
	{
		return "AdminPass [getIdDomain()=" + getIdDomain() + ", getCode()=" + getCode() + "]";
	}
}